package com.buba.springcloud.service.impl;

import com.buba.springcloud.dao.LoginMapper;
import com.buba.springcloud.entities.HfUser;
import com.buba.springcloud.service.LoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LoginServiceImpl implements LoginService {

    @Resource
    private LoginMapper loginMapper;

    @Override
    public HfUser login(String username) {
        return loginMapper.login(username);
    }
}
